home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 7
/
Aminet 7 - August 1995.iso
/
Aminet
/
comm
/
term
/
ncomm30.lha
/
NComm
/
Scripts
/
rxread1.ncomm
< prev
next >
Wrap
Text File
|
1993-05-24
|
473b
|
12 lines
/* Demonstrates a way to read serial chars with immediate response */
/* This scripts sends all data that is received within NComm */
/* to the current CLI window. Must be executed with the RX command */
options results /* Turn on result codes */
do forever /* for (;;) */
address 'ncomm' wait /* Wait for anything, return current line */
if RC == 20 then exit /* Exit if user selected Quit NComm */
say result /* Write line to CLI window */
end